<template>
  <div class="home-cont">
    Home {{ name }}
    <nuxt-link to="/about">关于</nuxt-link>
    <div v-viewer class="img">
      <img src="/icon.png" alt="" />
    </div>
  </div>
</template>

<script>
import Vue from 'vue'

export default Vue.extend({
  name: 'HomePage',
  data() {
    return {
      name: 'JyLie',
    }
  },
})
</script>

<style lang="scss">
.home-cont {
  color: greenyellow;
}
</style>
